//
//  KKBaseController.h
//  DoMi
//
//  Created by 康凯 on 16/10/26.
//  Copyright © 2016年 kk. All rights reserved.
//

#import <UIKit/UIKit.h>

#define LoadTitle @"正在加载"

#define margin5 5
#define margin10 10
#define margin12 12
#define margin14 14
#define margin16 16

@interface KKBaseController : UIViewController

//状态栏高
@property (nonatomic , assign) float statusHeight;
//导航栏高
@property (nonatomic , assign) float navHeight;
//导航栏和状态栏高
@property (nonatomic , assign) float topHeight;

@property (nonatomic , copy) NSString *uid;

@property (nonatomic , copy) NSString *token;

- (BOOL) isEmptyString:(NSString *)string;

- (void) toast:(NSString *)str;
- (void) toastLongText:(NSString *)str;
- (void) longToast:(NSString *)str;

-(void) showDialog;

-(void) dismissDialog;

-(void)setNavWhite;
-(void)setNavBlack;


@end
